package com.twetec.cms.adapter.html.frondend;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;

@SpringBootApplication(
        // 排除数据库连接
        exclude={
                DataSourceAutoConfiguration.class,
                HibernateJpaAutoConfiguration.class
        },
        scanBasePackages = {
                "com.twetec.cms.adapter.html.frondend",
                "com.twetec.cms.common",
                "com.zgh.usercenter.service" ,
                "com.zgh.rbac.service"
        }
)
public class MainApplication {

    public static void main(String[] args) {
        SpringApplication.run(MainApplication.class, args);
    }

}
